<?php 
//margus 2011
$a = 3;
$b = 2;
$c = 1;
function fun_math($a,$b,$c)
{
  if ($a < $b) 
  {
    $d = ($b - $a)+(-$c);
    echo $d."<br>";
  }
  if ($a > $b AND $a != 0 AND $b != 0) 
  {
    echo pow($a, $b)."<br>";
  }
  if ($a = $b) 
  {
    echo ($a +$c) + ($b - $c)."<br>";
  }
  if ($a * $b == $c) 
  {
    echo $c - ((2 * $a ) * $b)."<br>";
  }
  if ($a > $b AND $b > $c AND $a != 0 AND $b != 0 AND $a > 0 AND $b > 0) 
  {
    echo ($a + $b) / $c."<br>";
  }
  
}

fun_math($a,$b,$c);


?>